package zxh.com.service.impl;



import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

 

import zxh.com.dao.FsFileMapper;
import zxh.com.model.FsFile;
import zxh.com.service.FsFileService;
import zxh.com.until.DateUtil;

 


@Service("fsFileServiceImpl")
public class FsFileServiceImpl implements FsFileService {
    @Autowired
    private FsFileMapper fsFileMapper;

	@Override
	public void insert(FsFile n) {
		 n.setCts(DateUtil.getNowTime());
		fsFileMapper.insert(n);
	}

	@Override
	public FsFile selectById(Integer id) {
		return fsFileMapper.selectById(id);
	}

	@Override
	public void delete(Integer id) {
		fsFileMapper.delete(id);		
	}

	@Override
	public List<FsFile> list(FsFile n) {
		return fsFileMapper.list(n);
	}

	@Override
	public void update(FsFile n) {
		fsFileMapper.update(n);
		
	}
 
     
 
}
